package com.milepost.workflow.attach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milepost.workflow.attach.entity.FlowAttachEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author huarf
 * @Description
 * @create 2022-04-04 21:13
 */
public interface FlowAttachService extends IService<FlowAttachEntity> {

    /**
     * 上传附件
     * @param multipartFileList
     * @param flowAttachEntity
     * @return
     */
    boolean upload(List<MultipartFile> multipartFileList, FlowAttachEntity flowAttachEntity) throws Exception;

}
